import { Module } from '@nestjs/common';
import { ChatApiService } from './chat-api.service';
import { ChatApiController } from './chat-api.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { GptGroup } from './entities/gptgroup.entity';
import { GptMessage } from './entities/gptMessage.entity';

@Module({
  imports:[TypeOrmModule.forFeature([GptGroup,GptMessage])],
  controllers: [ChatApiController],
  providers: [ChatApiService],
  exports:[ChatApiService]
})
export class ChatApiModule {}
